/*
 * $Id: PolarisSystemException.java,v 1.1 2007/08/29 07:43:36 xun Exp $
 */

package projectx.core.base;

public class ProjectXSystemException extends ProjectXException implements
		TransactionInterruptException {

	public ProjectXSystemException(String key) {

		this(key, null);
	}

	public ProjectXSystemException(String key, Object value0) {

		this(key, new Object[] { value0 });
	}

	public ProjectXSystemException(String key, Object value0, Object value1) {

		this(key, new Object[] { value0, value1 });
	}

	public ProjectXSystemException(String key, Object value0, Object value1,
			Object value2) {

		this(key, new Object[] { value0, value1, value2 });
	}

	public ProjectXSystemException(String key, Object[] values) {

		this(new ProjectXMessage(key, values));
	}

	public ProjectXSystemException(ProjectXMessage msg) {

		super(msg);
	}

	public ProjectXSystemException(ProjectXMessage msg, ProjectXMessage cause) {

		super(msg, cause);
	}

	public ProjectXSystemException(ProjectXMessage msg, ProjectXMessage cause,
			Throwable t) {

		super(msg, cause, t);
	}

	public ProjectXSystemException(ProjectXMessage msg, Throwable t) {

		super(msg, t);
	}
}
